/**
 * Created by 000188 on 2016/6/27.
 */
import React from 'react';
var ReactDom = require('react-dom');
var main = document.createElement('div');

var Content = React.createClass({
    render(){
        return <div>
            {this.props.children}
        </div>
    }
});

module.exports = {
    render(View){
        ReactDom.render(<Content>
            {View}
        </Content>,main);
        return main;
    }
};